package com.logic.modular.act.playerInfo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

public class PlayerInfoVo {
    public static class PlayerVo {
        @Data
        @AllArgsConstructor
        @NoArgsConstructor
        public static class CreateUser{
            @ApiModelProperty("昵称")
            private String nickname;
            @ApiModelProperty("性别 0 未知,1男,2女")
            private Integer sex;
            @ApiModelProperty("头像")
            private String avatar;
            @ApiModelProperty("头像框")
            private String avatarFrame;
            @ApiModelProperty("阵营")
            private Integer camp;
        }

        @Data
        public static class EqSelect {
            @ApiModelProperty("uid")
            private Long uid;
        }

        @Data
        public static class rename {
            private String nickname;
        }

        @Data
        public static class getUserSignInOfYear {
            @NotNull(message = "年份不能为空")
            private Integer year;
        }

        @Data
        public static class supplementarySignIn {
            @NotNull(message = "日期不能为空")
            private Integer dayOfMonth;
        }
    }
}
